<html>
<head><meta charset="utf-8"><title>opaque types and wf, chalk#579 · wg-traits · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/index.html">wg-traits</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/opaque.20types.20and.20wf.2C.20chalk.23579.html">opaque types and wf, chalk#579</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="209027471"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/144729-wg-traits/topic/opaque%20types%20and%20wf%2C%20chalk%23579/near/209027471" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/opaque.20types.20and.20wf.2C.20chalk.23579.html#209027471">(Sep 03 2020 at 20:46)</a>:</h4>
<p>Hey <span class="user-mention" data-user-id="230601">@Nathan Whitaker</span> -- so I'm inclined to merge <a href="https://github.com/rust-lang-nursery/chalk/issues/579">chalk#579</a>, my only hesitation is that we didn't have a test for the old code that failed (but which would pass with the new code)</p>



<a name="209027487"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/144729-wg-traits/topic/opaque%20types%20and%20wf%2C%20chalk%23579/near/209027487" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/opaque.20types.20and.20wf.2C.20chalk.23579.html#209027487">(Sep 03 2020 at 20:47)</a>:</h4>
<p>meh, I think let's merge it</p>



<a name="209027496"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/144729-wg-traits/topic/opaque%20types%20and%20wf%2C%20chalk%23579/near/209027496" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/opaque.20types.20and.20wf.2C.20chalk.23579.html#209027496">(Sep 03 2020 at 20:47)</a>:</h4>
<p>unless you have some idea for what such a test might look like</p>



<a name="209027539"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/144729-wg-traits/topic/opaque%20types%20and%20wf%2C%20chalk%23579/near/209027539" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/opaque.20types.20and.20wf.2C.20chalk.23579.html#209027539">(Sep 03 2020 at 20:47)</a>:</h4>
<p>I guess i'm not sure why <a href="https://github.com/rust-lang/chalk/pull/579#discussion_r463753469">this test that I described</a> was passing before</p>



<a name="209027647"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/144729-wg-traits/topic/opaque%20types%20and%20wf%2C%20chalk%23579/near/209027647" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/opaque.20types.20and.20wf.2C.20chalk.23579.html#209027647">(Sep 03 2020 at 20:48)</a>:</h4>
<p>Oh, I see I think. You were sometimes doing the substitution, sometimes not</p>



<a name="209033990"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/144729-wg-traits/topic/opaque%20types%20and%20wf%2C%20chalk%23579/near/209033990" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nathan Whitaker <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/opaque.20types.20and.20wf.2C.20chalk.23579.html#209033990">(Sep 03 2020 at 21:53)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116009">nikomatsakis</span> <a href="#narrow/stream/144729-wg-traits/topic/opaque.20types.20and.20wf.2C.20chalk.23579/near/209027647">said</a>:</p>
<blockquote>
<p>Oh, I see I think. You were sometimes doing the substitution, sometimes not</p>
</blockquote>
<p>Yup exactly. I was substituting for the bounds but not the where clauses.</p>



<a name="209034038"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/144729-wg-traits/topic/opaque%20types%20and%20wf%2C%20chalk%23579/near/209034038" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nathan Whitaker <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/opaque.20types.20and.20wf.2C.20chalk.23579.html#209034038">(Sep 03 2020 at 21:54)</a>:</h4>
<p>Rebased! Should be ready to merge now</p>



<a name="209129841"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/144729-wg-traits/topic/opaque%20types%20and%20wf%2C%20chalk%23579/near/209129841" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/opaque.20types.20and.20wf.2C.20chalk.23579.html#209129841">(Sep 04 2020 at 19:02)</a>:</h4>
<p>yay!</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>